{if $subnav_location}
<p class="subnav">
{if $breadcrumbs}
{section name=nr loop=$breadcrumbs}
{assign var="breadcrumb_linkname" value=$breadcrumbs[nr].linkname}
<a href="{$breadcrumbs[nr].link}">{$smarty.config.$breadcrumb_linkname}</a> &raquo;
{/section}
{/if}
{$subnav_location}</p>
{elseif $subnav_link}
{assign var="link_name" value=$subnav_link.name}
{if $subnav_link.title}{assign var="link_title" value=$subnav_link.title}{/if}
{if $smarty.config.$link_name|replace:"[name]":$name_repl_subnav neq "Back to the forum index"}
<a class="" href="index.php{if $subnav_link.id && !$subnav_link.mode}?id={$subnav_link.id}{else}?mode={$subnav_link.mode}{if $subnav_link.back}&amp;back={$subnav_link.back}{/if}{if $subnav_link.id}&amp;id={$subnav_link.id}{/if}{/if}" title="{$smarty.config.$link_title|replace:"[name]":$name_repl_subnav|default:''}" target="_blank">{$smarty.config.$link_name|replace:"[name]":$name_repl_subnav}</a>
| <a class="" href="index.php?mode=index&amp;category={$category}&thread_order=1">Refresh</a>
{if $user}
| <a class="" href="modify_post.php" target="_blank">Modify</a>
| <a class="" href="delete_post.php" target="_blank">Delete</a>
{/if}
{/if}
{else}
&nbsp;
{/if}